home *** CD-ROM | disk | FTP | other *** search
/ Acorn User: The Risc OS Music Utilities CD / Acorn User: The Risc OS Music Utilities CD.iso / RISCSTER / RISCSRC3.ZIP / h / library < prev    next >
Encoding:
Text File  |  2000-06-27  |  699 b   |  35 lines

  1.  
  2. typedef enum mp3file_status {incomplete, done, shared} mp3file_status;
  3.  
  4. typedef struct mp3file
  5. {
  6.  char filename[255];
  7.  char checksum[100];
  8.  int size, fullsize, bitrate, frequency, length;
  9.  mp3file_status stat;
  10.  struct mp3file * next;
  11.  int menu;
  12. } mp3file;
  13.  
  14. typedef struct ifooter
  15. {
  16.  char id[3];
  17.  long int filesize;
  18.  char checksum[100];
  19. } ifooter;
  20.  
  21. typedef struct scanprogress
  22. {
  23.  osgbpb_info_stamped_list * filelist;
  24.  char mdpath[300];
  25.  int con, read;
  26. } scanprogress;
  27.  
  28. ifooter * lib_fileinfo(char * path, char * filename, char * out);
  29. void lib_rescan_init(scanprogress * s);
  30. void lib_rescan(scanprogress * s);
  31. void lib_writefooter(transfer * dl);
  32. void lib_close(void);
  33. void lib_completemenu(void);
  34.  
  35.